home *** CD-ROM | disk | FTP | other *** search
/ F1 Licenseware / F1 Licenseware - Volume 1.iso / disks / 028.dms / 028.adf / Commands_List / File_Management / Edit < prev    next >
Encoding:
Text File  |  1993-08-08  |  1.1 KB  |  27 lines

  1. Command Name : Edit
  2.  
  3. Function : Edit text files one line at a time
  4.  
  5. Arguments : FROM <filename> [TO] <filename>
  6.  
  7. Location : C directory
  8.  
  9. For some reason, CBM included a line editor in the Workbench disk.  All it
  10. does is edit text files a line at a time.  "What is the point?" I hear you
  11. ask.  Who knows?  Don't bother with this - just use Ed, MEMACS or a PD text
  12. editor.  Anyway, you can't create files with Edit, and you must output all
  13. changes to a different file.  Press N for the next line of text, P for the
  14. previous and Q to quit.  You have to press N <RETURN> to start because the
  15. first line is not shown automatically.  Typing a line number jumps to that
  16. line.  When you decide to insert a line, type I <RETURN> and type in as much
  17. as you like, as if you are using a sensible editor.  When you get bored
  18. press Z <RETURN> at the start of a line.  I suggest you try out the example
  19. below so you don't delete any important files.
  20.  
  21. Examples
  22.  
  23. Edit FROM S:Startup-sequence TO RAM:Startup-sequence
  24.  
  25.         Edit the boot disk's startup-sequence, outputting any changes made
  26.         to a file called startup-sequence in RAM:
  27.